import URL from '@/config/user';
import axios from '@/utils/request';

export const reg = (options: any) => axios.post(URL.reg, options);
export const login = (options: any) => axios.post(URL.login, options);
export const validate = () => axios.get(URL.validate);